Guild icon
S3Drive
Community / support / Two-way sync error on Windows; Max delete protection
Avatar
Hi, I'm using Two-way sync mode in my Windows with S3Drive (1.9.1). The first time after set the synchronization settings from remote (Cloudflare R2) to local, there were no problems (all files in the cloud were downloaded to local). However, after I changed some files locally and synchronization was running, an error like this appeared.
Avatar
Hi @Bryan, Thanks for your report. It seems that default "max delete" safety check was triggered, which may indicate that sync operation would touch more than 50% of files: https://rclone.org/bisync/#max-delete We will make this configurable in a next release within couple days. (edited)
Bidirectional cloud sync solution in rclone
Avatar
Thanks🙏 Maybe because I'm using Cryptomator to encrypt my files thus making a lot of changes to the structure of folders and files
Avatar
This option is now available in our latest Windows release: https://github.com/s3drive/windows-app/releases/tag/1.9.2%2B1 When you edit existing sentry, you can change the: "Max delete" value from the default 50% to e.g 90% or even 100% (although is is somewhat risky). Please let me know if this has resolved your issue. Thanks !
Avatar
I set Max delete to 90% and works (edited)
4:29 PM
but what risk i will face with 90% max delete?
Avatar
I would personally say 100% is somewhat unsafe, as in the case where there is a bug (e.g. some back-end experiencing a falure responds with 200 OK code with empty listing instead of 4xx or 5xx) which can be interpreted as no files, then all files would then be deleted on the other end. Also if user accidentally deleted all contents (which is probably extremely rare case to handle two-way sync, that change would then propagate). Referring to documentation: "This safety check is intended to block bisync from deleting all of the files on both filesystems due to a temporary network access issue, or if the user had inadvertently deleted the files on one side or the other." Link: https://rclone.org/bisync/#max-delete As long as your dataset grows, you may consider reducing 90% to lower value and only "tweak" it if you're performing some global operation. (edited)
Bidirectional cloud sync solution in rclone
Avatar
Ah i see, thanks for the explanation🤝
Tom changed the channel name: Two-way sync error on Windows; Max delete protection. 7/3/2024 4:57 PM
Tom changed the channel name: Two-way sync error on Windows; Max delete protection 7/3/2024 4:57 PM
Exported 10 message(s)
Timezone: UTC+0